{{cookiecutter.component_id}}/Gopkg.toml (43 lines of code) (raw):

# Gopkg.toml example # # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md # for detailed Gopkg.toml documentation. # # required = ["github.com/user/thing/cmd/thing"] # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] # # [[constraint]] # name = "github.com/user/project" # version = "1.0.0" # # [[constraint]] # name = "github.com/user/project2" # branch = "dev" # source = "github.com/myfork/project2" # # [[override]] # name = "github.com/x/y" # version = "2.4.0" # # [prune] # non-go = false # go-tests = true # unused-packages = true {% if cookiecutter.use_logrus_logging == "y" -%} [[constraint]] name = "github.com/sirupsen/logrus" version = "1.4.2" {%- endif %} {% if cookiecutter.use_viper_config == "y" -%} [[constraint]] name = "github.com/spf13/viper" version = "1.3.2" {%- endif %} {% if cookiecutter.use_cobra_cmd == "y" -%} [[constraint]] name = "github.com/spf13/cobra" version = "0.0.3" {%- endif %} [prune] go-tests = true unused-packages = true